package org.xqp.pet.service;

import org.springframework.http.HttpRequest;
import org.xqp.basic.service.IBaseService;
import org.xqp.basic.util.PageList;
import org.xqp.pet.domain.Pet;
import org.xqp.pet.domain.SearchMasterMsg;
import org.xqp.pet.query.SearchMasterMsgQuery;

import java.util.List;

public interface ISearchMasterMsgService extends IBaseService<SearchMasterMsg> {

    void publish(SearchMasterMsg smm, Long id);

    PageList<SearchMasterMsg> pending(SearchMasterMsgQuery query, Long logininfoId);

    PageList<SearchMasterMsg> processed(SearchMasterMsgQuery query, Long logininfoId);

    void handler(Pet pet, Long logininfoId);
}
